package com.dongdong.mapper;

import com.dongdong.pojo.TbSpecificationOption;
import com.dongdong.pojo.TbSpecificationOptionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbSpecificationOptionMapper {
    int countByExample(TbSpecificationOptionExample example);

    int deleteByExample(TbSpecificationOptionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbSpecificationOption record);

    int insertSelective(TbSpecificationOption record);

    List<TbSpecificationOption> selectByExample(TbSpecificationOptionExample example);

    TbSpecificationOption selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbSpecificationOption record, @Param("example") TbSpecificationOptionExample example);

    int updateByExample(@Param("record") TbSpecificationOption record, @Param("example") TbSpecificationOptionExample example);

    int updateByPrimaryKeySelective(TbSpecificationOption record);

    int updateByPrimaryKey(TbSpecificationOption record);

    void insertBatch(@Param("options") List<TbSpecificationOption> options, @Param("id") Long id);

    List<TbSpecificationOption> getSpects(@Param("id") Long id);

    void deleteBatchByIds(@Param("ids") Long[] ids);

    List<TbSpecificationOption> getOptionNameById(@Param("id") Long id);
}